package org.example.seata.bs.account.service;

import org.example.seata.bs.api.dto.account.AccountBalanceLogDto;
import org.example.seata.bs.api.service.account.AccountService;
import org.example.seata.bs.api.vo.account.AccountBalanceLogVo;
import org.example.seata.common.core.util.ApiResp;

/**
 * @author hzq
 * @date 2021/11/30 14:40
 */
public interface AccountEnhanceService extends AccountService {

    /**
     * 减去账户余额
     *
     * @param dto 实体
     * @return 操作结果
     */
    ApiResp<AccountBalanceLogVo> minusAccountBalance(AccountBalanceLogDto dto);
}
